import vibrator from '@blueos.hardware.vibrator.vibrator'
import { getVibratorConf } from '../setting/vibratorConf'

export const vibrate = () => {
  const isVibrator = getVibratorConf()
  if (!isVibrator) {
    return
  }
  console.log('vibrate')
  vibrator.vibrate({
    mode: 'short',
  })
}
